import request from '../utils/request';
import { parse } from 'querystring';
import { REST,BASE } from '../utils/Api';

export async function fetchMenus() {
  return request(`${BASE}/config/object/getAllObjectConfig`, {
    method: 'GET',
  });
}
